home *** CD-ROM | disk | FTP | other *** search
/ Freaks Macintosh Archive / Freaks Macintosh Archive.bin / Freaks Macintosh Archives / Textfiles / zines / Midnight-Raid / MIDNIGHT RAID iss1.docmaker.sit / MIDNIGHT RAID iss1.docmaker.rsrc / TEXT_136.txt < prev    next >
Text File  |  1999-01-28  |  4KB  |  107 lines

  1. ++++++++mah br0ke unix guide+++++++++++
  2. ____________
  3.  
  4. Contents
  5. ______
  6. 1-What you need to get started
  7. 2-a few commands
  8. 3-stuff to do
  9.  
  10. 1
  11. To get started with unix,  you need a telnet application such as Better Telnet,  
  12. and a server that you have an account at.  You proboly have one with your isp <as long as
  13. t's not aol>. Try to open a connection your isp's domain name <ie supernet.com>.
  14. It should bring up something like this:
  15.  
  16. Sun OS 5.6
  17.  
  18. login:
  19.  
  20. Type the login you use to connect to your isp,  and the password.
  21.  
  22. Sun OS 5.6
  23.  
  24. login:  The Mentor
  25. password:
  26.  
  27. Nothing will appear when you type your password.  It is a simple,  effective security 
  28. measure for people who happen to be looking over your shoulder.  They won't know the length 
  29. of it.  Then,  it will probobly say you have mail,  and bring up a command prompt:
  30.  
  31. You Have Mail.
  32. $
  33.  
  34. Some servers use something called "e-z-shell" <or something of the sort>.  
  35. That will bring up a menu that you use numbers or letters to navigate with.  
  36. Look for the number/letter that says "Unix System" or "quit to system".  Something like that.
  37.  
  38. 2
  39. Now that you're on,  you need to know some commands.
  40. _________________________________________
  41. mkdir-make a directory
  42.  
  43. mkdir --<one option;  given when "help" is typed here> <the directory you want to create.  
  44. nothing on some options>
  45. _________________________________________
  46. passwd-allows you to change the password for an account.
  47.  
  48. passwd <account>
  49. _________________________________________
  50. mail-enter the mail system <probobly "pine">
  51. _________________________________________
  52. pwd-shows what directory you are in.
  53. _________________________________________
  54. cd-change directory
  55.  
  56. cd /usr/bin
  57. _________________________________________
  58. cat-shows on screen of what is contained in a file.
  59.  
  60. cat /etc/passwd would list the "passwd" file.
  61. _________________________________________
  62. su-change accounts.  You will be prompted by a password after you type the account you 
  63. want to change to.
  64.  
  65. su <account you want to change to>
  66. _________________________________________
  67. rm-remove a directory
  68.  
  69. rm user
  70. _________________________________________
  71. who-lists users on the system
  72. _________________________________________
  73. who am i-lists info about you
  74. _________________________________________
  75.  
  76. 3-misc. info-things to do
  77. _________________________________________
  78. A good place to start out is taking the "passwd" file out of the "/etc" directory.  
  79. The first entry should look something like this:
  80.  
  81. root:x:0:1:operator:/:/bin/sh
  82.  
  83. That means he is a super user.  Anyone with a "0" in the first <the first slot is you user 
  84. number> slot is a super user.  The "1" is what group they are in.  The "operator" 
  85. is a comment <sometimes that is blank.  A lot on the time it will hold the user's real name.>.  
  86. The home directory is is the root </>.
  87.  
  88. If you are lucky you will see an account like this:
  89.  
  90. superuserx::0:1:/bin:/bin/sh
  91.  
  92. That is an unpassworded super user account.  You can tell it's unpassworded,  
  93. because in the encrypted password slot there is nothing.
  94. _________________________________________
  95. using the *
  96. You can manipulate all files that start with what you type in:
  97.  
  98. rm The_Leftist*
  99.  
  100. that would remove all files like The_Leftist1,  The_Leftist.3,  etc. 
  101. that are in the same directory <the one that you are in now>.
  102. _________________________________________
  103.  
  104. This was just a basic outline of the system.  If you really want to learn about it,  buy a book.  
  105. Also,  if you do manage to get a good account,  don't do something stupid like delete all 
  106. their files.  Dont think you have to "leave your mark" or whatever...
  107.